Skip to content

update submodule#246

Open
lokax wants to merge 6 commits intoeloqdata:eloq-10.6.10from
lokax:yf-pro-ckpt-boost-context
Open

update submodule#246
lokax wants to merge 6 commits intoeloqdata:eloq-10.6.10from
lokax:yf-pro-ckpt-boost-context

Conversation

@lokax
Copy link
Collaborator

@lokax lokax commented Mar 9, 2026

Summary by CodeRabbit

  • Chores
    • Updated an internal submodule pointer; infrastructure maintenance only.
    • No changes to public APIs, control flow, or error handling; integrations remain compatible.
    • Low-risk maintenance update; no action required from users or administrators.

Copilot AI review requested due to automatic review settings March 9, 2026 08:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the data_substrate git submodule reference to a newer commit.

Changes:

  • Bumps data_substrate submodule commit from 65caaadd... to 74f3df2e....

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

The data_substrate submodule pointer was updated from commit 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 to a3706dda5b64a8b0c215ad0bb70307781036d567; no functional code, public interface, or control-flow changes.

Changes

Cohort / File(s) Summary
Submodule Reference Update
data_substrate
Submodule pointer updated from 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 to a3706dda5b64a8b0c215ad0bb70307781036d567.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • lzxddz
  • liunyl
  • thweetkomputer

Poem

🐰 I swapped a hash with nimble feet,

A tiny tweak—no code to meet,
Carrots twitched, the logs stayed clear,
The woodland whispers, "Merge is near,"
A joyful hop — the rabbit's cheer. 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'update submodule' directly matches the changeset, which only updates a submodule pointer with no functional code changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@data_substrate`:
- Line 1: CI is failing because the data_substrate submodule is not being
checked out; update the pipeline's checkout step to initialize submodules (e.g.,
use git clone --recursive or run git submodule update --init --recursive after
clone), or if using GitHub Actions switch to actions/checkout@v3 with
submodules: true (and fetch-depth: 0) so the data_substrate submodule is present
for tests and validation.
- Line 1: The submodule update changed several APIs: update all callers in this
repo that call PutAll, PersistKV, and UpdateRangeSlices to pass the new
function-pointer parameters (yield_fptr, resume_fptr, sync_yield_fptr) and
adjust any wrapper signatures to accept these callbacks; review and adapt any
data-store client or eloqstore integration code that relied on the old
signatures to forward these new parameters; also implement or wire up handlers
for the new standby methods OnSnapshotReceived and OnUpdateStandbyCkptTs where
the data store expects them (or update interfaces to ignore/forward them), and
run integration tests to ensure the parent repo compiles and behaves correctly
with the new function-pointer-based flow control.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b327f9a5-5187-4bc2-ab31-de04795820ae

📥 Commits

Reviewing files that changed from the base of the PR and between 82c9599 and ba23a39.

📒 Files selected for processing (1)
  • data_substrate

data_substrate Outdated
@@ -1 +1 @@
Subproject commit 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7
Subproject commit 74f3df2e5e83b6ab90b79bd9113e267e4df00e49
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix the CI pipeline to properly handle submodules.

The pipeline failure indicates that the data_substrate submodule is not being checked out in the CI environment. This prevents proper validation and testing of the submodule changes.

Most CI systems require explicit configuration to clone submodules. Ensure your CI configuration includes submodule initialization, typically by adding flags like --recursive to git clone or running git submodule update --init --recursive.

🧰 Tools
🪛 GitHub Actions: Copilot code review

[error] 1-1: Error getting common flags: diff references file 'data_substrate' that is not present in repo (and not marked deleted) – this often means the repository directory argument is incorrect or not the repo root. Command: autofind run [repoDir] [flags] ...

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@data_substrate` at line 1, CI is failing because the data_substrate submodule
is not being checked out; update the pipeline's checkout step to initialize
submodules (e.g., use git clone --recursive or run git submodule update --init
--recursive after clone), or if using GitHub Actions switch to
actions/checkout@v3 with submodules: true (and fetch-depth: 0) so the
data_substrate submodule is present for tests and validation.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Show the diff and commit history in the data_substrate submodule between the old and new commits.

cd data_substrate 2>/dev/null || {
  echo "Error: data_substrate submodule directory not found"
  exit 1
}

echo "=== Submodule commit range ==="
echo "Old commit: 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7"
echo "New commit: 74f3df2e5e83b6ab90b79bd9113e267e4df00e49"
echo ""

echo "=== Commit log between old and new commits ==="
git log --oneline --no-merges 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

echo ""
echo "=== Files changed in submodule ==="
git diff --name-status 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

echo ""
echo "=== Summary statistics ==="
git diff --stat 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

Repository: eloqdata/eloqsql

Length of output: 843


🏁 Script executed:

#!/bin/bash
# Check submodule configuration and current state
echo "=== Git submodule configuration ==="
cat .gitmodules 2>/dev/null | grep -A 3 "data_substrate" || echo "No .gitmodules found"

echo ""
echo "=== Current submodule status ==="
git config --file .gitmodules --get submodule.data_substrate.url 2>/dev/null || echo "Submodule not configured in .gitmodules"

echo ""
echo "=== Checking if data_substrate directory exists ==="
ls -la data_substrate 2>/dev/null || echo "data_substrate directory does not exist"

echo ""
echo "=== Git status of data_substrate ==="
git status data_substrate 2>/dev/null || echo "Not a git repository or submodule"

echo ""
echo "=== Current HEAD of parent repository ==="
git log --oneline -1

Repository: eloqdata/eloqsql

Length of output: 623


🏁 Script executed:

#!/bin/bash
# Check the gitlink commit hash stored in the parent repository
echo "=== Git ls-files showing submodule gitlink ==="
git ls-files -s | grep data_substrate

echo ""
echo "=== Check git config for submodule details ==="
git config --file .gitmodules --name-only --get-regexp submodule

echo ""
echo "=== Try to get the submodule commit from parent repo's object database ==="
git rev-parse HEAD:data_substrate 2>/dev/null || echo "Cannot resolve submodule commit from parent repo"

Repository: eloqdata/eloqsql

Length of output: 1388


🏁 Script executed:

#!/bin/bash
# Try to initialize the submodule and inspect the commits
echo "=== Attempting to initialize the data_substrate submodule ==="
git submodule update --init --recursive data_substrate 2>&1 | head -20

echo ""
echo "=== Check if submodule now has git repository ==="
if [ -d "data_substrate/.git" ]; then
  echo "Submodule git repository exists"
  cd data_substrate
  echo ""
  echo "=== Current commit in submodule ==="
  git rev-parse HEAD
  echo ""
  echo "=== Attempting to fetch old commit 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 ==="
  git rev-parse 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 2>&1 || echo "Old commit not found locally"
  echo ""
  echo "=== Checking commit log near the new commit ==="
  git log --oneline -10
else
  echo "Submodule git repository was not created"
fi

Repository: eloqdata/eloqsql

Length of output: 2044


🏁 Script executed:

#!/bin/bash
# Check the actual state of data_substrate directory
echo "=== Directory structure ==="
ls -la data_substrate/ | head -20

echo ""
echo "=== Check for .git in data_substrate ==="
if [ -e "data_substrate/.git" ]; then
  echo ".git exists (file or directory)"
  file data_substrate/.git
fi

echo ""
echo "=== Inspect data_substrate git status ==="
cd data_substrate && pwd && git rev-parse HEAD && git log --oneline -5

Repository: eloqdata/eloqsql

Length of output: 1687


🏁 Script executed:

#!/bin/bash
# Inspect commit history and try to find the old commit
cd data_substrate

echo "=== Checking if old commit exists ==="
git rev-parse 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 2>&1 && echo "Old commit found" || echo "Old commit not found in this repository"

echo ""
echo "=== Git log for more history ==="
git log --oneline | head -20

echo ""
echo "=== Search for old commit in reflog ==="
git reflog | grep 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 || echo "Old commit not in reflog"

echo ""
echo "=== Try to fetch old commit ==="
git fetch origin 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7 2>&1 | head -10

Repository: eloqdata/eloqsql

Length of output: 794


🏁 Script executed:

#!/bin/bash
# Now that we know the old commit exists, get the diff and changes
cd data_substrate

echo "=== Commits between old and new ==="
git log --oneline 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

echo ""
echo "=== Files changed ==="
git diff --name-status 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

echo ""
echo "=== Diff stats ==="
git diff --stat 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49

echo ""
echo "=== Check for any breaking changes in key files ==="
git diff 65caaadd93da33fcfb6ee1a1cca73e89cb7529f7..74f3df2e5e83b6ab90b79bd9113e267e4df00e49 -- "*.h" "*.hpp" "CMakeLists.txt" | head -100

Repository: eloqdata/eloqsql

Length of output: 9491


Review the API changes introduced in the submodule update carefully before merging.

The submodule pointer is updated to commit 74f3df2 (rocksdb handle), which includes 24 commits with substantial refactoring across 44 files. Key changes include:

  • API signature changes: Methods like PutAll, PersistKV, and UpdateRangeSlices now accept new function pointer parameters (yield_fptr, resume_fptr, sync_yield_fptr), which may require updates to any parent repository code that calls these methods.
  • Data store service refactoring: Significant modifications to data store client classes and eloqstore integration.
  • Infrastructure updates: RocksDB and standby mode enhancements, including new methods OnSnapshotReceived and OnUpdateStandbyCkptTs.

Ensure the parent repository code is compatible with these API changes and test the integration thoroughly.

🧰 Tools
🪛 GitHub Actions: Copilot code review

[error] 1-1: Error getting common flags: diff references file 'data_substrate' that is not present in repo (and not marked deleted) – this often means the repository directory argument is incorrect or not the repo root. Command: autofind run [repoDir] [flags] ...

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@data_substrate` at line 1, The submodule update changed several APIs: update
all callers in this repo that call PutAll, PersistKV, and UpdateRangeSlices to
pass the new function-pointer parameters (yield_fptr, resume_fptr,
sync_yield_fptr) and adjust any wrapper signatures to accept these callbacks;
review and adapt any data-store client or eloqstore integration code that relied
on the old signatures to forward these new parameters; also implement or wire up
handlers for the new standby methods OnSnapshotReceived and
OnUpdateStandbyCkptTs where the data store expects them (or update interfaces to
ignore/forward them), and run integration tests to ensure the parent repo
compiles and behaves correctly with the new function-pointer-based flow control.

@lokax lokax force-pushed the yf-pro-ckpt-boost-context branch from b4909df to e68593a Compare March 10, 2026 04:46
@lokax lokax force-pushed the yf-pro-ckpt-boost-context branch from c6c962e to 3ef1b83 Compare March 18, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants